package com.yonyougov.devops.cruxcisupport.kubeconfig.dto;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.math.BigInteger;
import java.util.Date;

@Data
@Api(value = "kubecnfig文件新增")
public class KubeConfigSaveRequestDto {


    /***
     * 主键
     */
    @ApiModelProperty(required = true,value = "主键")
    private BigInteger id;

    /***
     * 环境ID
     */
    @NotNull
    @ApiModelProperty(required = true,value = "环境id")
    private BigInteger envId;

    /***
     * 环境名称
     */
    @NotEmpty
    @ApiModelProperty(required = true,value = "环境名称")
    private String envName;

    /***
     * kubeconfig文件内容
     */
    @ApiModelProperty(required = true,value = "kubeconfig文件内容")
    @NotEmpty
    private String content;

}
